{% load static %}
{#京东的商品评论内容#}
<h5>某东评论内容区</h5>
<script type="text/javascript" src="{% static "ckeditor/ckeditor/ckeditor.js" %}"></script>



<div class="mycopy" style="overflow: hidden">
<p> {{ commentList| first }}</p>
    <p><b>【千万不要被骗了】点击下方链接查看官网最新报价</b></p>
    <p>以下是网友真实感受</p>
    <ol>
    {% for foo in commentList %}
        {% if forloop.counter <= 4  and forloop.counter >= 2%}
            <li>{{ foo }}</li>
        {% endif %}
    {% endfor %}
    </ol>
    {#照片#}
    {% for foo in imgList %}
        {% if forloop.counter >= 2 and  forloop.counter <= 3 %}
            <p><img src="{{ foo }}" alt=""></p>
        {% endif %}
    {% endfor %}

    {#评论#}
    <ul>
        {% for foo in commentList %}
            {% if forloop.counter >= 5 and forloop.counter <= 8 %}
                <li>{{ foo }}</li>
            {% endif %}
        {% endfor %}
    </ul>

    {#照片#}
    {% for foo in imgList %}
        {% if forloop.counter >= 4 and  forloop.counter <= 6 %}
            <p><img src="{{ foo }}" alt=""></p>
        {% endif %}
    {% endfor %}

    {#评论#}
    <ul>
        {% for foo in commentList %}
            {% if forloop.counter >= 9 and  forloop.counter <= 12 %}
                <li>{{ foo }}</li>
            {% endif %}
        {% endfor %}
    </ul>
</div>




<script type="text/javascript">
    CKEDITOR.replace('editor1');
    {#CKEDITOR.instances.editor1.setData('')#}

</script>
